<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Document</title>

    <script !src="">
      'use strict';
      let set = new Set([
        ['key1', 'val1'],
        ['key2', 'val2'],
      ]);
      console.log(set);
      set.add('key1');
      set.add('key1');

      set.forEach(function(item) {
        console.log("item:"+item)
      })

      console.log(set.has('key1'));
      console.log(set.delete('key1'));
      console.log(set.has('key1'));

      set.clear();
    </script>
  </head>
  <body></body>
</html>
